<?php

/* Define Global constants */
define('DOC_ROOT', dirname(__FILE__));
define('ADROIT_PATH', DOC_ROOT . '/adroit/');
define('APP_PATH', DOC_ROOT . '/app/');
$_web_root = dirname($_SERVER['SCRIPT_NAME']);
define('WEB_ROOT', $_web_root .'/');
define('REAL_ROOT', str_replace('webroot', '', $_web_root));
define('TEMPLATE', '.html');

require_once(ADROIT_PATH . 'Adroit.class.php');

/* Database connection values */
/*
Adroit::$config['db']['name'] = '';
Adroit::$config['db']['server'] = '';
Adroit::$config['db']['user'] = '';
Adroit::$config['db']['password'] = '';
Adroit::$config['db']['port'] = '3306';
*/
/* Use db to store session instead of file system */
Adroit::$config['sessionDB'] = false;
/* Turn on errors/warnings for debugging */
Adroit::$config['debugging'] = true;
?>